package cn.edu.ujn.ch11.c;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HelloController {
    @RequestMapping("/hello")
	public String sayHello(Model model) {
    	model.addAttribute("msg", "这是我的第一个基于注解的springmvc。");
    	
		return "First";
    	
	}
	
}
